/*
 * POJO for holding the columns from a query with its alias and table name
 */

package com.querie.pojo;

/**
 *
 * @author a-skoshy
 */
public class Column {
    private String tableID;
    private String columnID;
    private String columnName;
    private String alias;

    public Column(String tid, String cid, String name, String alias){
        this.tableID = tid;
        this.columnID = cid;
        this.columnName = name;
        this.alias = alias;
    }

    public String getTableID() {
        return tableID;
    }

    public String getColumnID() {
        return columnID;
    }

    public String getColumnName() {
        return columnName;
    }

    public String getAlias() {
        return alias;
    }

    public String toString(){
        return "Column:ID" + columnID + "|name:" + columnName + "|alias:" + alias + "|TID:" + tableID + "\n";
    }
}
